NextStep builds use glib but don't use xg_select.
* src/process.c (wait_reading_process_output): Don't call xg_select
for a NextStep build.
}
#endif
-/* HAVE_GLIB builds call thread_select in xgselect.c. */
-#ifdef HAVE_GLIB
+/* Non-macOS HAVE_GLIB builds call thread_select in xgselect.c. */
+#if defined HAVE_GLIB && !defined HAVE_NS
nfds = xg_select (max_desc + 1,
&Available, (check_write ? &Writeok : 0),
NULL, &timeout, NULL);